using System;
using System.ComponentModel;
using System.Web.UI;
namespace JQueryControlToolkit.Controls
{
	public class DroppableExtender : JQueryExtender
	{
		[JQueryElement("accept", true)]
		public string AcceptSelector
		{
			get
			{
				return base.GetPropertyValue<string>("AcceptSelector", null);
			}
			set
			{
				base.SetPropertyValue<string>("AcceptSelector", value);
			}
		}
		[JQueryElement("accept"), PersistenceMode(PersistenceMode.InnerProperty)]
		public string Accept
		{
			get
			{
				return base.GetPropertyValue<string>("Accept", null);
			}
			set
			{
				base.SetPropertyValue<string>("Accept", value);
			}
		}
		[JQueryElement("activeClass")]
		public string ActiveCssClass
		{
			get
			{
				return base.GetPropertyValue<string>("ActiveCssClass", null);
			}
			set
			{
				base.SetPropertyValue<string>("ActiveCssClass", value);
			}
		}
		[JQueryElement("addClasses")]
		public bool AddClasses
		{
			get
			{
				return base.GetPropertyValue<bool>("AddClasses", true);
			}
			set
			{
				base.SetPropertyValue<bool>("AddClasses", value);
			}
		}
		[JQueryElement("greedy")]
		public bool Greedy
		{
			get
			{
				return base.GetPropertyValue<bool>("Greedy", false);
			}
			set
			{
				base.SetPropertyValue<bool>("Greedy", value);
			}
		}
		[JQueryElement("hoverClass", SerializeAs = SerializeAs.String)]
		public string HoverCssClass
		{
			get
			{
				return base.GetPropertyValue<string>("HoverCssClass", null);
			}
			set
			{
				base.SetPropertyValue<string>("HoverCssClass", value);
			}
		}
		[JQueryElement("scope")]
		public string Scope
		{
			get
			{
				return base.GetPropertyValue<string>("Scope", "default");
			}
			set
			{
				base.SetPropertyValue<string>("Scope", value);
			}
		}
		[JQueryElement("tolerance", SerializeAs = SerializeAs.String)]
		public Tolerance Tolerance
		{
			get
			{
				return base.GetPropertyValue<Tolerance>("Tolerance", Tolerance.Intersect);
			}
			set
			{
				base.SetPropertyValue<Tolerance>("Tolerance", value);
			}
		}
		[JQueryEvent("activate"), DefaultValue(null), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), PersistenceMode(PersistenceMode.InnerProperty)]
		public string OnActivate
		{
			get
			{
				return base.GetPropertyValue<string>("OnActivate", null);
			}
			set
			{
				base.SetPropertyValue<string>("OnActivate", value);
			}
		}
		[JQueryEvent("deactivate"), DefaultValue(null), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), PersistenceMode(PersistenceMode.InnerProperty)]
		public string OnDeActivate
		{
			get
			{
				return base.GetPropertyValue<string>("OnDeActivate", null);
			}
			set
			{
				base.SetPropertyValue<string>("OnDeActivate", value);
			}
		}
		[JQueryEvent("over"), DefaultValue(null), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), PersistenceMode(PersistenceMode.InnerProperty)]
		public string OnOver
		{
			get
			{
				return base.GetPropertyValue<string>("OnOver", null);
			}
			set
			{
				base.SetPropertyValue<string>("OnOver", value);
			}
		}
		[JQueryEvent("out"), DefaultValue(null), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), PersistenceMode(PersistenceMode.InnerProperty)]
		public string OnOut
		{
			get
			{
				return base.GetPropertyValue<string>("OnOut", null);
			}
			set
			{
				base.SetPropertyValue<string>("OnOut", value);
			}
		}
		[JQueryEvent("drop"), DefaultValue(null), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), PersistenceMode(PersistenceMode.InnerProperty)]
		public string OnDrop
		{
			get
			{
				return base.GetPropertyValue<string>("OnDrop", null);
			}
			set
			{
				base.SetPropertyValue<string>("OnDrop", value);
			}
		}
		protected override string jQueryFunction
		{
			get
			{
				return "droppable";
			}
		}
	}
}
